package com.wanxi.news;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.wanxi.news","com.wanxi.feign.fallback"})
//@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.wanxi.feign.clients")
public class NewsApplication {
    public static void main(String[] args) {
        SpringApplication.run(NewsApplication.class,args);
    }
}
